package com.mall.beans;

import java.io.Serializable;

/**
 * 购物车表(ShoppingCart)实体类
 *
 * @author 周彭
 * @since 2020-12-22 09:33:48
 */
public class ShoppingCart implements Serializable {
    private static final long serialVersionUID = 393648942614403349L;
    /**
     * 购物车id
     */
    private Integer id;
    /**
     * 商品id
     */
    private Integer goodsId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 购物车中商品是否选择状态
     */
    private Integer checked;
    /**
     * 逻辑删除
     */
    private Integer deleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getChecked() {
        return checked;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

}